-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add fno-offload-uniform-block flag for rocm5.7 and up #838
Conversation
OK, sure. |
@junliume @illsilin I do not recommend adding the new option unconditionally, see ROCm/MIOpen#2307 (comment) |
I can run the full QA suite with rocm5.7 RC1 and this flag and see if there is any performance degradation. |
@illsilin That would be very good, thanks! Please update us with the results. |
Apparently, the rocm5.7 RC1 is the threshold version so the flag does not get set for it: |
@illsilin FYI this is how we use check_cxx_compiler_flag() in MIOpen (more future-proof solution): ROCm/MIOpen#2741 |
This should take care of the changes in the default compiler settings starting from rocm version 5.7.